<div class="page has-sidebar-left height-full">
    <header class="blue accent-3 relative nav-sticky">
        <div class="container-fluid text-white">
            <div class="row p-t-b-10 ">
                <div class="col">
                    <h4>
                        <i class="icon-android2"></i>
                        APP设置
                    </h4>
                </div>
            </div>
            <div class="row">
                <ul class="nav responsive-tab nav-material nav-material-white">
                  
				   <li><a class="nav-link active" href="<?php echo url('/index/appsettings/wechat'); ?>" role="tab"><i class="icon icon-brightness_auto"></i>微信设置</a></li>
                  
                </ul>
              
              <!--右侧
                <a class="btn-fab fab-right btn-primary" data-toggle="control-sidebar">
                    <i class="icon icon-menu"></i>
                </a>
              -->
              
            </div>
        </div>
    </header>
    <div class="container-fluid relative animatedParent animateOnce">
        <div class="tab-content pb-3">
  
            <!--Yesterday Tab Start-->
            <div class="tab-pane animated fadeInUpShort go active show">
                   <div class="animatedParent animateOnce">
                      <div class="container-fluid my-3">
                          <div class="row">
                              <div class="col-md-7">
                                  <div class="card">
                                      <div class="card-body b-b">
                                          <form class="form-material" role="form" id="form1" method="post" action="{:url('appsettings/wechat')}" >
                                              <!-- Input -->
                                              <div class="body">

                                                  <h6>客服微信(会显示在属于你用户的APP中)</h6>
                                                  <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control" id="weichat" name="weichat" value="{$weichat}"  placeholder="微信" >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>


                                                
                    <?php if(session('power')=='1'){?>    
                                                
                              <?php $app_working_mode  =  db('advert')->where('id = 1')->value('content');    if( $app_working_mode == '0'){?>    
                                                <h6>发卡平台 </h6>
                                                
                                                   <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control"  name="url" value="{:sname(session('user'),'url')}"  >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>   
                                     <?php } ?>               
                                                
                                                
                                                
  <!--                                                <h6>体验激活码 </h6>
                                                
                                                   <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control"  name="url5" value="{:sname(session('user'),'url5')}"  placeholder="体验激活码购买链接,请以http://开头" >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>  
                                                
                                                
                                                  <h6>一月激活码 </h6>
                                                
                                                   <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control"   name="url1" value="{:sname(session('user'),'url1')}"  placeholder="一个月购买链接,请以http://开头" >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>
                                                
                                                  <h6>三月激活码 </h6>
                                                
                                                   <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control"   name="url2" value="{:sname(session('user'),'url2')}"  placeholder="三个月激活码购买链接,请以http://开头" >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>
                                                
                                                  <h6>半年激活码 </h6>
                                                
                                                   <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control"   name="url6" value="{:sname(session('user'),'url6')}"  placeholder="半年激活码购买链接,请以http://开头" >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>
                                                
                                                  <h6>一年激活码 </h6>
                                                
                                                   <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control"   name="url3" value="{:sname(session('user'),'url3')}"  placeholder="一年激活码购买链接,请以http://开头" >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>
                                                
                                                  <h6>永久激活码 </h6>
                                                
                                                   <div class="row clearfix">
                                                      <div class="col-sm-12">
                                                          <div class="form-group">
                                                              <div class="form-line">
                                                                  <input type="text" class="form-control"   name="url4" value="{:sname(session('user'),'url4')}"  placeholder="永久激活码购买链接,请以http://开头" >
                                                              </div>
                                                          </div>

                                                      </div>
                                                  </div>
-->
<?php } ?>  
                                                
                                              </div>
                                              <!-- #END# Input -->
                                              <button type="submit" class="btn btn-primary">确认</button>
                                          </form>
                                        
                                      </div>
                                    
                                    

                                    


                                  </div>
                              </div>
                              <div class="col-md-5">
                                
                                  <hr>
                                  <h3>帮助</h3>
                                  <p>会在被邀请人APP中专属客服页面展示</p>

                                
                                
                                
                                  <hr>
                                  <h4 class="mt-5">未完待续</h4>
                                  <a href="#" target="_blank" class="btn btn-outline-primary btn-xs">Perfect Network Service</a>
                                
                                
                              </div>
                          </div>
                      </div>
                  </div>						
            </div>

        </div>
    </div>
</div>